package io.github.fb513.api.config;

import com.fasterxml.jackson.databind.ObjectMapper;
import io.github.fb513.common.util.JsonParser;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class JsonConfig {

    @Bean
    public JsonParser jsonParser(ObjectMapper objectMapper) {
        return new JsonParser(objectMapper);
    }
}
